<script setup lang="ts">
	import { onLaunch, onShow } from "@dcloudio/uni-app";
	import { useStore } from 'vuex'
	import { getnavigationinfo, userLocation, getParam, showToast } from "@/utils/utils"
	const store = useStore()
	onLaunch( (e) => {
		getnavigationinfo()
		
		if(uni.getStorageSync('myinfo')){
			store.commit('setmyinfo',uni.getStorageSync('myinfo'))
		}
		if(uni.getStorageSync('bg_photo')){
			store.commit('setbg_photo',uni.getStorageSync('bg_photo'))
		}else{
			 uni.setStorageSync('bg_photo',{})
		}

	})

	onShow(async () => {
		
	})


</script>
<style>
	@import url("@/utils/style.css");
	@import url("@/utils/iconfont.css");
	
	page {
		background: #F1F4F4;
	}
</style>